package mp1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("product")
public class Product {
    //产品Id
    @TableId(type = IdType.AUTO)
    Long id;
    //产品名称
    String name;
    //产品单价
    double price;
    //库存数量
    double quantity;
    //产品类别
    String category;
    //产品描述
    String description;
}
